//
//  EditProjectController.h
//  SEOBox
//
//  Created by Syd on 10-3-1.
//  Copyright 2010 MusicPeace.ORG. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class Project;
@class ProjectsArrayController;

@interface EditProjectController : NSWindowController {
    IBOutlet NSTextField *nameTextField;
    IBOutlet NSTextField *urlTextField;
    IBOutlet NSProgressIndicator *progressIndicator;
    Project *project;
    NSMutableDictionary *projectInfo;
    IBOutlet ProjectsArrayController *projectsArrayController;
    NSManagedObjectContext *managedObjectContext;
}

@property (nonatomic, retain) NSTextField *nameTextField;
@property (nonatomic, retain) NSTextField *urlTextField;
@property (nonatomic, retain) NSProgressIndicator *progressIndicator;
@property (nonatomic, retain) Project *project;
@property (nonatomic, retain) NSMutableDictionary *projectInfo;
@property (nonatomic, retain) ProjectsArrayController *projectsArrayController;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;


- (IBAction)cancel:(id)sender;
- (IBAction)save:(id)sender;
- (BOOL)validateProject;

@end
